package com.efast.dmom.mgmt.service.mes.barcode;

import java.util.List;

import com.efast.cafe.framework.bean.ResultBean;
import com.efast.dmom.mgmt.bean.mes.barcode.BarCodeRuleBean;
import com.efast.dmom.mgmt.bean.mes.barcode.BarCodeRuleItemBean;

public interface BarCodeRuleService {

	public List<BarCodeRuleBean> getAllBarCodeRules();

	public ResultBean validateBarCode(int pConfigId, String barcode);
	
	public ResultBean refreshCache(int pConfigId);

	public ResultBean updateBarcodeRule(BarCodeRuleBean barCodeRuleBean);

	public ResultBean updateBarcodeRuleItem(BarCodeRuleItemBean barCodeRuleItemBean);

}
